package com.tmall.wireless.virtualviewdemo.utils.imageloader.core.imageaware;

import com.tmall.wireless.virtualviewdemo.utils.imageloader.core.assist.ViewScaleType;
import ohos.agp.components.Component;
import ohos.agp.components.element.Element;
import ohos.media.image.PixelMap;

public interface ImageAware {

    int getWidth();


    int getHeight();

    ViewScaleType getScaleType();

    Component getWrappedView();

    boolean isCollected();

    int getId();

    boolean setImageElement(Element element);


    boolean setImagePixelMap(PixelMap pixelMap);
}
